package com.xxx.dao;

import com.xxx.admin.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IUserdao {
    List<User> finAll();
    boolean addUser(User user);
    User loginUser(@Param("id")Integer id,@Param("password")String password);
    List<Dishes> showDishes();
    List<UserOrders> showOrders();
    Integer intoOrders(Orders orders);
    boolean intoDetails(OrdersDetails ordersdetails);
    Integer updateOrders(Integer id);
    Integer dateOrders(Integer id);
    List<Orders> signOrders();
}
